﻿using UnityEngine;
using System.Collections;

public class ConfigController : MonoBehaviour {
    public GameConfig config;

    public static GameConfig Config
    {
        get { return instance.config; }
    }

    public static ConfigController instance;

    private void Awake()
    {
        instance = this;
    }

    void Start()
    {
        config.rubyCostToContinue = new int[20];
        for (int i = 0; i < config.rubyCostToContinue.Length; i++)
        {
            config.rubyCostToContinue[i] = i + 2;
        }
    }
}
